Add gtk_entry_layout_index_to_text_index() and its inverse. The have
authorMatthias Clasen <maclas@gmx.de>
Mon, 9 Aug 2004 15:09:10 +0000 (15:09 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 9 Aug 2004 15:09:10 +0000 (15:09 +0000)
Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index()
and its inverse. The have always been exported and are meant
to be public.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gtk/gtk-sections.txt
gtk/gtkentry.h

index 07020d1aff93355c4879ffd0ce1cd7eed48a3ebc..075aabaf200d3273949d9ca05629b6ebababe60a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index() 
+       and its inverse. The have always been exported and are meant
+       to be public.
+       
 Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkicontheme.c (load_svg_at_size): Don't leak the 
index 07020d1aff93355c4879ffd0ce1cd7eed48a3ebc..075aabaf200d3273949d9ca05629b6ebababe60a 100644 (file)
@@ -1,3 +1,9 @@
+Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index() 
+       and its inverse. The have always been exported and are meant
+       to be public.
+       
 Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkicontheme.c (load_svg_at_size): Don't leak the 
index 07020d1aff93355c4879ffd0ce1cd7eed48a3ebc..075aabaf200d3273949d9ca05629b6ebababe60a 100644 (file)
@@ -1,3 +1,9 @@
+Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index() 
+       and its inverse. The have always been exported and are meant
+       to be public.
+       
 Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkicontheme.c (load_svg_at_size): Don't leak the 
index 07020d1aff93355c4879ffd0ce1cd7eed48a3ebc..075aabaf200d3273949d9ca05629b6ebababe60a 100644 (file)
@@ -1,3 +1,9 @@
+Mon Aug  9 10:50:05 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkentry.h: Add gtk_entry_layout_index_to_text_index() 
+       and its inverse. The have always been exported and are meant
+       to be public.
+       
 Mon Aug  9 00:28:34 2004  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkicontheme.c (load_svg_at_size): Don't leak the 
index be92859db4b1a886b87eae700606ee3567743f02..b3ea8e0f3258b6aa495156ca28bb6c262c08b42f 100644 (file)
@@ -1,3 +1,8 @@
+Mon Aug  9 10:52:23 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtk-sections.txt: Add gtk_entry_layout_index_to_text_index() 
+       and its inverse. 
+
 2004-08-07  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/tmpl/gtkrc.sgml: Fix a typo (#164470, Mariano 
index 5e3ba347e21b82bb592be62fee05b4715675fc86..bea8f5312d7c7a048a4d6e23382904da35d3d40c 100644 (file)
@@ -1064,6 +1064,8 @@ gtk_entry_set_alignment
 gtk_entry_get_alignment
 gtk_entry_get_layout
 gtk_entry_get_layout_offsets
+gtk_entry_layout_index_to_text_index
+gtk_entry_text_index_to_layout_index
 gtk_entry_get_max_length
 gtk_entry_get_visibility
 gtk_entry_set_completion
index b34ed4774861731528fac00871059768448c8cd4..751e177ccc689b026a604ebcedea2338272ee33e 100644 (file)
@@ -174,7 +174,7 @@ gint       gtk_entry_get_width_chars            (GtkEntry      *entry);
 
 /* Somewhat more convenient than the GtkEditable generic functions
  */
-void                  gtk_entry_set_text        (GtkEntry      *entry,
+void       gtk_entry_set_text                   (GtkEntry      *entry,
                                                  const gchar   *text);
 /* returns a reference to the text */
 G_CONST_RETURN gchar* gtk_entry_get_text        (GtkEntry      *entry);
@@ -191,6 +191,14 @@ void                gtk_entry_set_completion (GtkEntry           *entry,
                                               GtkEntryCompletion *completion);
 GtkEntryCompletion *gtk_entry_get_completion (GtkEntry           *entry);
 
+PangoLayout* gtk_entry_get_layout (GtkEntry *entry);
+
+gint       gtk_entry_layout_index_to_text_index (GtkEntry      *entry,
+                                                 gint           layout_index);
+gint       gtk_entry_text_index_to_layout_index (GtkEntry      *entry,
+                                                 gint           text_index);
+
+
 /* Deprecated compatibility functions
  */